package com.da.web.sys_login.service;

import com.da.common.Result;
import com.da.web.sys_login.entity.LoginParm;
import com.da.web.sys_login.entity.UpdateVo;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
/**
 * @author da
 * @time 2023/12/21 下午 1:53
 */
public interface LoginService {
    Result login(LoginParm parm, HttpServletRequest request);

    Result getInfo(Long userId, String userType);

    Result getMenuList(Long userId, String userType);

    Result updateInfo(UpdateVo userInfo);

    void getCode(HttpServletRequest request, HttpServletResponse response);

    Result getRoleTypes();
}
